package com.itheima.bakery.demos.web.model;

import java.math.BigDecimal;
import java.util.List;

public class CheckoutRequest {
    private Integer userId;
    private List<Integer> cartItemIds; // 使用 List<Integer>
    private BigDecimal totalAmount;

    // Getters and Setters
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public List<Integer> getCartItemIds() {
        return cartItemIds;
    }

    public void setCartItemIds(List<Integer> cartItemIds) {
        this.cartItemIds = cartItemIds;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }
}